package cn.ulc.store.dao.template;

import cn.ulc.store.dao.BaseDao;
import cn.ulc.store.entity.template.TemplateBlock;
import org.beetl.sql.core.annotatoin.SqlResource;

import java.util.List;

/*
* TemplateBlock
* gen by Jin mapper 2019-06-04
*/
@SqlResource("template.templateBlock")
public interface TemplateBlockDao extends BaseDao<TemplateBlock> {

  List<TemplateBlock> findByCompany(Long companyId);
  List<TemplateBlock> findByTemplate(Long templateId);
}
